home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4672 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.2 KB

  1. Path: ftel.co.uk!bham!usenet
  2. From: "Mr. Graeme McCaffery" <G.McCaffery@bham.ac.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: CC compiler for Sun 4.0.1
  5. Date: Wed, 31 Jan 1996 16:28:57 +0000
  6. Organization: The University Of Birmingham
  7. Message-ID: <310F98C9.41C67EA6@bham.ac.uk>
  8. NNTP-Posting-Host: baruntse.eee.bham.ac.uk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b3 (X11; I; SunOS 4.1.3 sun4c)
  13.  
  14. Our sun computers have just upgraded to solaris 2.4. As a result we have
  15. a new CC compiler for C++. I want to compile my program which has been
  16. compiled on Borland C++ for dos, but I get core dumps when I shouldn't.
  17. I am using Templates for a user defined array class. The problem seems
  18. to be consistencey across different files. I have the class definition
  19. in one file and the function definitions in another file. 
  20.  
  21. I have used typedef statments and these wroked for Borland. How do I
  22. make it work for CC?
  23.  
  24. I have looked at the Template.opt file but I can't figure it out
  25. properly.
  26.  
  27. Thanks for any help.
  28. Graeme
  29.  
  30. could you please respond to this by mail as well as to the newsgroup as
  31. I find it hard to follow the C++ newsgroup.
  32.  
  33. -- 
  34. G. McCaffery
  35. The University of Birmingham
  36. http://sun1.bham.ac.uk/g.mccaffery/
  37.